const crypto = require("crypto");
const { secret } = require("../configs/config");
function md5(s) {
    const p = s + secret;
    return crypto.createHash('md5').update(String(p)).digest('hex');
}
module.exports = { md5 };
